Spread WinForms 15
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / CalcHelper Class / MinMax Method / MinMax(Double[],Double,Double) Method
The set of values.
The minimum value.
The maximum value.


In This Topic
MinMax(Double[],Double,Double) Method
In This Topic
Returns the mininum value and maximum value in a set of values.
Syntax
'Declaration
 
Public Overloads Shared Sub MinMax( _
   ByVal values() As Double, _
   ByRef min As Double, _
   ByRef max As Double _
) 
 
'Usage
 
Dim values() As Double
Dim min As Double
Dim max As Double
 
CalcHelper.MinMax(values, min, max)

Parameters

values
The set of values.
min
The minimum value.
max
The maximum value.
See Also